package com.example.aigc_education.constant;

import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 微信配置实体类
 */
@Configuration
@ConfigurationProperties(prefix = "wechat")
@Component
@Data
public class WeChatConstants {

    private  String appid; //小程序的appid


    private  String secret; //小程序的秘钥

    private String templateId;

    private  String loginUrl;

    private  String accessTokenUrl;
}

